<?php
class Extension_XmlRpc_Class_Test
{
    /**
     * docblocks required !
     *
     * @param int $id
     * @param boolean $publish
     * @param struct $data
     * @return string
     */
    public function callFunc($id, $publish, $data) {
        if ($publish) {
            $string = "id : $id<br />" 
                    . 'title : ' . $data['title'] . '<br />' 
                    . 'created in : ' . $data['dateCreated'] . '<br />' 
                    . 'description : ' . $data['description'];
            return $string;
        } else {
            return false;
        }
    }

}